Main Page   File List  

[c]ConnectConfirm---ConfigRequest.h

00001 //  Connection Confirm and Configuration Request
00002 
00003 case L2CA_Service_Union_Connect_tag: {
00004         CID = L2CA_packet_in->Service.__union.Connect.__union.Confirm.LCID;
00005 
00006         /*Print useful message to Analysis Output window */
00007         if(IsMaster_Value())
00008                 vccPrintPdxDebugInfo("%_START_ MASTER : GBI <-received [ConnectConfirm] from LL - return ConfigRequest %_END_");
00009         else
00010                 vccPrintPdxDebugInfo("%_START_ SLAVE  : GBI <-received [ConnectConfirm] from LL - return ConfigRequest %_END_");
00011 
00012         /* Prepare Configure_Union_Request! - Set Tag and Contents. */
00013         L2CA_packet_out.Service.__unionTag = L2CA_Service_Union_Configure_tag;
00014         L2CA_packet_out.Service.__union.Configure.__unionTag = L2CA_Configure_Union_Request_tag;
00015                         
00016         L2CA_packet_out.SourceID = 0x02;
00017         L2CA_packet_out.Service.__union.Configure.__union.Request.CID = CID;
00018         L2CA_packet_out.Service.__union.Configure.__union.Request.InMTU = 0x2A0;
00019         L2CA_packet_out.Service.__union.Configure.__union.Request.OutFlow.TokenRate = 0x00;
00020         L2CA_packet_out.Service.__union.Configure.__union.Request.OutFlow.TokenBucketSize = 0x00;
00021         L2CA_packet_out.Service.__union.Configure.__union.Request.OutFlow.PeakBandwidth = 0x00;
00022         L2CA_packet_out.Service.__union.Configure.__union.Request.OutFlow.Latency = 0x00;
00023         L2CA_packet_out.Service.__union.Configure.__union.Request.OutFlow.DelayVariation = 0x00;
00024         L2CA_packet_out.Service.__union.Configure.__union.Request.OutFlushTO = 0x1;
00025         L2CA_packet_out.Service.__union.Configure.__union.Request.LinkTO = 0x7d0;
00026 
00027         L2CA_Packet_Out_Post(&L2CA_packet_out);
00028 
00029         /*Print useful message to Analysis Output window */
00030         if(IsMaster_Value())
00031                 vccPrintPdxDebugInfo("%_START_ MASTER : GBI ->sent [ConfigRequest] to LL %_END_");
00032         else
00033                 vccPrintPdxDebugInfo("%_START_ SLAVE  : GBI ->sent [ConfigRequest] to LL %_END_");
00034 
00035         break;
00036 }

Generated on Sun May 12 19:02:34 2002 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002